package com.mohe.shanpao.domain.user;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_users_roles")
public class SysUserRole
{
	@Id
	@Column(name = "id")
	private Long id;
	
	@Column(name = "user_id")
	private Long userId;//名称

	@Column(name = "role_id")
	private Long roleId;//密码

	@Column(name = "create_time")
	private Date createTime;//创建时间 
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

}
